package com.aaa.service;

import com.aaa.dto.GoodsCountDto;
import com.aaa.pojo.DefaultMsg;
import com.aaa.pojo.Goods;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * service接口
 */
public interface GoodsService extends IService<Goods> {

    List<Goods> listAllState(@Param("keyword") String keyword, @Param("name") String name);

    Goods listAllById(Integer id);

    List<GoodsCountDto> findGoodsCountByGoodsId(Map<String,List<Integer>> goodsIdList);

}
